package design.observer;

/**
 * 观察者测试
 *
 * @author dingwen
 * @date 2022/04/23
 */
public class ObserverTest {
    public static void main(String[] args) {


        Event event = new Event();
        new TestListener(event);
        event.setType("test");
    }
}
